]> dgit.raspbian.org Git - gnome-shell.git/commit
screenShield: Wake up on deactivate()
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 31 Mar 2020 19:07:59 +0000 (21:07 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 3 Apr 2020 14:44:50 +0000 (14:44 +0000)
commitfbe2e30f389a10b5b155ab7b2179d9fd718e762b
tree7d0bf200fbc6e1281aa25412d0be9b9a8b67cbf0
parentfb6ead2881525676d49a331c726200a5d78cb65c
screenShield: Wake up on deactivate()

Usually the screen is woken up before the shield is deactivated, but
it is also possible to unlock the session programmatically via the
org.gnome.ScreenSaver D-Bus API.

The intention is very likely not to unlock a turned off screen in
that case. Nor does it seem like a good idea to change the lock
state without any indication.

Waking up the screen is more likely to meet expectations and is
more reasonable too, so do that.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1158
js/ui/screenShield.js